home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / plotting / imagetoo / imagetl1.lha / Imagetool / headers / newext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-20  |  3.8 KB  |  143 lines

  1. /*
  2. ******************************************************************************
  3. *                               NCSA ImageTool 1.1 beta
  4. *                           Thu Sep 20 16:58:25 CDT 1990
  5. * NCSA ImageTool 1.1 beta source code and documentation are in the public
  6. * domain.
  7. * Specifically, we give to the public domain all rights for future licensing
  8. * of the source code, all resale rights, and all publishing rights.
  9. * We ask, but do not require, that the following message be included in all
  10. * derived works:
  11. * Portions developed at the National Center for Supercomputing Applications at
  12. * the University of Illinois at Urbana-Champaign.
  13. * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
  14. * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
  15. * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
  16. ******************************************************************************
  17. */
  18. /* cat > headers/newext.h << "EOF" */
  19. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
  20. /* newext.h: new externals for ImageTool 1.1        */
  21. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
  22. /* SCCS information: %W%    %G% */
  23.  
  24.  
  25. #ifndef HEADER_NEWEXT        /* avoid reinclusion */
  26. #define HEADER_NEWEXT
  27.  
  28. /* ---------------------- current ------------------------------ */
  29.  
  30. #define LUT        0
  31. #define IMAGE           1
  32. #define MAXSDSRANK      2
  33. #define LUTSIZE        256
  34. #define PALETTE_SIZE    768
  35. #define XMAX_IMAGE    1400
  36. #define YMAX_IMAGE    1000
  37.     /* states of image to load */
  38. #define SINGLE_IMAGE    0
  39. #define ANIMATION    1
  40. #define    FTP_SEQUENCE    2
  41.  
  42.     extern Frame entry_frame;
  43.     extern Frame imagesave_box;
  44.     extern Frame palsave_box;
  45.  
  46.     extern Panel entry_panel1, entry_panel2;
  47.     extern Panel imagesave_panel;
  48.     extern Panel palsave_panel;
  49.  
  50.     extern Panel_item entry_item1, entry_item2;
  51.     extern Panel_item delete_but, delete_but_msg;
  52.     extern Panel_item load_toggle, SDS_toggle;
  53.     extern Panel_item imagesave_item, imagesave_toggle;
  54.     extern Panel_item palsave_item, palsave_toggle;
  55.  
  56.     extern struct pal last_pal, curr_pal, default_pal;
  57.  
  58.     extern int loop_zoomed, flinear;
  59.  
  60.         extern unsigned char palette [];
  61.  
  62.     /* Don't need:
  63.         Menu load_menu; */
  64.         
  65.         /* animation.c */
  66.     extern int create_animation_panel ();
  67.     extern int load_single ();
  68.  
  69.         /* image.c */
  70.     extern int load_proc2 ();
  71.     extern int check_image ();
  72.     extern int check_imgfn ();
  73.     extern void pad_image ();
  74.     extern int load_RAWI ();
  75.     extern int load_RIS8 ();
  76.     extern int load_SDS2D ();
  77.     extern int create_imagesave_box ();
  78.     extern int imagesave_ok_cancel ();
  79.     extern int put_imagesize ();
  80.  
  81.         /* myftp.c */
  82.     /* static void set_timer (); */
  83.     /* static void stop_timer (): */
  84.  
  85.         /* new */
  86.     extern char *first_word ();
  87.     extern int pixrect_pad ();
  88.     extern int free_list ();
  89.     extern int check_filetype ();
  90.  
  91.         /* option.c */
  92.     extern int skip_to_newline ();
  93.     extern int get_printer_field ();
  94.     extern Menu option_mark_menu ();
  95.  
  96.         /* palette.c */
  97.     extern int color_entry_win ();
  98.     extern void color_win ();
  99.     extern int set_palRAW ();
  100.     extern int set_palHDF ();
  101.     extern int check_prev_palfn ();
  102.     extern int check_prev_pal ();
  103.     extern int check_palette_RIS8 ();
  104.     extern int create_palsave_box ();
  105.     extern int palsave_ok_cancel ();
  106.     extern int reset_pal ();
  107.  
  108.         /* myftp.c */
  109.     /* static void set_timer (); */
  110.     /* static void stop_timer (): */
  111.  
  112.         /* new */
  113.     extern char *first_word ();
  114.     extern int pixrect_pad ();
  115.  
  116.         /* option.c */
  117.     extern int skip_to_newline ();
  118.     extern int get_printer_field ();
  119.     extern Menu option_mark_menu ();
  120.  
  121.         /* palette.c */
  122.     extern int color_entry_win ();
  123.     extern void color_win ();
  124.     extern int set_palRAW ();
  125.     extern int set_palHDF ();
  126.     extern int check_prev_palfn ();
  127.     extern int check_prev_pal ();
  128.     extern int check_palette_RIS8 ();
  129.  
  130.         /* stack.c */
  131.     extern int create_entrysw ();
  132.     extern int display_entrysw ();
  133.     extern int entry_proc ();
  134.     extern int set_entry ();
  135.  
  136. #endif    /* HEADER_NEWEXT */
  137. /* EOF */
  138.